package persistence.dao;

import java.util.HashSet;
import java.util.Set;

import core.ModelObject;

import persistence.dto.ProductDTO;

public class ProductsSerDAO extends ModelObject implements IProductsDAO
{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7112619458046743680L;
	private static ProductsSerDAO instance;
	
	public static ProductsSerDAO getInstance()
	{
		if(instance == null)
		{
			instance = new ProductsSerDAO();
		}
		return instance;
	}
	
	private ProductsSerDAO()
	{
		
	}
	
	@Override
	public Set<ProductDTO> getAllProducts()
	{
		// TODO Auto-generated method stub
		return new HashSet<ProductDTO>();
	}

	@Override
	public int add(ProductDTO productDTO)
	{
		// TODO Auto-generated method stub
		return -1;
	}

	@Override
	public boolean edit(ProductDTO productDTO)
	{
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public boolean remove(ProductDTO productDTO)
	{
		// TODO Auto-generated method stub
		return true;
	}

}
